#include <stdio.h>

int main(){
    int a = 10;
    int* p = &a;
    printf("The address of a is : %016x\n", p);
    printf("The va ilue of a is %d\n", a);

    int *d = &a;
    printf("The size of the address is %d\n", sizeof(d));
    printf("The address of a is: %p\n", d);
    printf("The address of d is: %p\n", &d);

    int val_1 = 0xaabbccdd;
    long long val_2 = 1;
    int *p1 = &val_1;
    long long *p2 = &val_2;
    printf("p1 is %p\n", p1);
    printf("p2 is %p\n", p2);

    printf("p1 + 1 is %x\n", p1 + 1);
    printf("p2 + 1 is %x\n", p2 + 1);
    printf("sizeof(int) = %d\n", sizeof(int));
    printf("sizeof(long int) = %d\n", sizeof(long int));
    printf("sizeof(long long = %d\n", sizeof(long long));
    getchar();
    return 0;
}